package pl.edu.agh.transstat.statictisc;

import java.util.List;

public class Max extends Function {

	public Max(){
		name = "Max";
	}
	
	@Override
	public double getValue(List<Double> values) {
		double max = values.get(values.size() -1);
		return max;
	}

}
